package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * 用户领取奖励表
 */
@Getter
@Setter
@Document(collection = "user_recieve_ca_record")
public class UserRecieveCaRecord extends EntityBase {
    @Indexed
    private String userId;
    @Indexed
    private String activityId;
    /**
     * 证书等级
     */
    @Indexed
    private String level;
    /**
     * 领取时间
     */
    private Date recieveTime;

}
